package com.yongbao.model.request;

import com.yongbao.common.PageQueryRequest;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * @author zhanghong
 */
@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel("订单从请求模型")
public class DishOrderSubRequest extends PageQueryRequest implements Serializable {
    @ApiModelProperty("主订单id")
    private Long orderId;
    @ApiModelProperty("用户id")
    private Long userId;
    @ApiModelProperty("经度(下单时定位经度)")
    private String lng;
    @ApiModelProperty("纬度(下单时定位纬度)")
    private String lat;
    @ApiModelProperty("是否愿意成为团长 0否 1是")
    private Integer headGroup;
    @ApiModelProperty("手机号")
    private String mobile;
    @ApiModelProperty("总价")
    private BigDecimal orderAmount;
    @ApiModelProperty("订餐类型 1周餐 2月餐")
    private String orderType;
    @ApiModelProperty("过期的周餐 1表示查询过期周餐或者月餐，其他的不做筛选")
    private Integer expiredWeekOrMonthDish;
    @ApiModelProperty("区名称")
    private String areaName;
    @ApiModelProperty("地址搜索关键字")
    private String keyWord;

}
